package org.jeecg.modules.htxincailiao.news.service;

import org.jeecg.modules.htxincailiao.news.entity.HTNews;
import com.baomidou.mybatisplus.extension.service.IService;
import us.codecraft.webmagic.Page;
import us.codecraft.webmagic.Request;

import java.util.Map;

/**
 * @Description: ht_news
 * @Author: jeecg-boot
 * @Date:   2021-08-11
 * @Version: V1.0
 */
public interface IHTNewsService extends IService<HTNews> {

   public boolean saveForCrawlerCollectBy(String categoryId,
                                          String name,
                                          String subname,
                                          String source,
                                          String cover,
                                          String targetSite,
                                          String content);

   HTNews getByName(String name);

}
